<?php 
use \Workerman\Worker;
use \Workerman\WebServer;
use \GatewayWorker\Gateway;
use \GatewayWorker\BusinessWorker;
use \Workerman\Autoloader;
$worker = new BusinessWorker();
$worker->name = 'ChatBusinessWorker';
$worker->count = 16;
$worker->registerAddress = '127.0.0.1:1236';
if(!defined('GLOBAL_START')) {
    Worker::runAll();
}

